<?php
class BlogController extends Controller{
    public function show(){
        //http://localhost/hdphp-xuexi/Lesson16/index.php?m=Admin&c=Blog&a=show&id=2
        http://localhost/hdphp-xuexi/Lesson16/index.php?blog_1
        $id=Q('id',0,'intvla');
        $blog = M('blog')->find($id);
        p($blog);
    }
}